package com.czmh.etc.onlinepubsys.exceptions;

/**
 * @ClassName：EtcInterpreterException
 * @Description：TODO
 * @Author： sevenchen.
 * @Date：2019/6/13 00:13.
 * @Version：1.0.0
 */
public class EtcInterpreterException extends RuntimeException {
    /**
     * 异常信息
     */
    protected String msg;

    /**
     * 具体异常码
     */
    protected String code;

    public EtcInterpreterException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
